.block_collection_slides {
    .swiper {
        .swiper-slide {
            height: auto;
            .custom_image {
                color: var(--custom-color);
               .img_box {
                .mask {
                    background-color: var(--mask-color);
                }
               }
                .text_box {
                    .text_content {
                        text-align: left;
                        .text_title {
                            line-height: 1.1em;
                            @media screen and (max-width: 767px) {
                                font-size: 26px !important;
                            }
                        }
                        &>div:nth-last-child(1) {
                            margin-bottom: 0;
                        }
                        .text_detail {
                            display: -webkit-box;
                            -webkit-line-clamp: 4;
                            -webkit-box-orient: vertical;
                            text-overflow: ellipsis;
                            overflow: hidden;
                        }
                    }
                }
            }
        }
    }

    .btn {
        .swiper-button-prev,.swiper-button-next {
            height: 38px;
            width: 38px;
            background-image: none;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
            position: relative;
            left: 0;
            right: 0;
            background-color: #f1f1f1;
            color: #404040;
            &.swiper-button-disabled {
                opacity: 1;
            }
        }
    }
}